﻿Public Class clsGJBZL
    Public Function getList(startTime As String, endTime As String) As DataTable
        Dim szSql As String = "select * from sf.b_gjb_zl "
        szSql &= " where 1=1 "
        If startTime <> "" Then
            szSql &= " and update_time >= '" + startTime + "'"
        End If
        If endTime <> "" Then
            szSql &= " and update_time <= '" + endTime + "'"
        End If
        Return DBacs.ExecuteSql(szSql, -1)
    End Function
End Class
